package net.sky.oa.service.ioffice.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.sky.oa.dao.ioffice.OffSummUserDao;
import net.sky.oa.model.OffSummUser;
import net.sky.oa.service.ioffice.OffSummUserService;

import com.htsoft.core.service.impl.BaseServiceImpl;

@Service
@Transactional
public class OffSummUserServiceImpl extends BaseServiceImpl<OffSummUser> implements OffSummUserService {
	
	private OffSummUserDao offSummUserDao;
	
	@Resource
	public void setOffSummUserDao(OffSummUserDao offSummUserDao) {
		super.setDao(offSummUserDao);
		this.offSummUserDao = offSummUserDao;
	}
	
	public List<OffSummUser> findBySummId(Long summId){
		return offSummUserDao.findBySummId(summId);
	}
	
	public List<OffSummUser> findByUserId(Long userId) {
		return null;
	}
	
	public void delBySummId(Long id){
		offSummUserDao.delBySummId(id);
	}

}
